﻿@using S4Store.Domain
@{
    ViewBag.Title = "Index";
    Layout = null;
    S4Store.Domain.Administrator CurrentUser = (S4Store.Domain.Administrator)ViewBag.CurrentUser;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html style="width:100%; height:100%; overflow:hidden">
<head>
    <title>@ViewBag.Title</title>    
    <link href="@Url.Content("~/Resources/lxthemes/default/page.css")" rel="stylesheet" type="text/css" media="screen"/>
    <link href="@Url.Content("~/Resources/lxthemes/default/style.css")" rel="stylesheet" type="text/css" media="screen"/>
    <link href="@Url.Content("~/Resources/uploadify/css/uploadify.css")" rel="stylesheet" type="text/css" media="screen"/>
    <script src="@Url.Content("~/Resources/lx/jquery-1.7.2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/xheditor/xheditor-1.2.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/uploadify/scripts/jquery.uploadify.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Resources/lx/dialogManager.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/alertManager.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/ajaxManager.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/core.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/verticalSplitContainer.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/horizontalSplitContainer.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/ratioView.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/accordion.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/dwz.tree.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/dwz.tab.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/dwz.datepicker.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/dwz.util.date.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/remotePanel.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/tabPanelContainer.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/application.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/link.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/dragable.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/resizeable.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/listpage.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/addpage.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/selectAllToggle.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/storechooser.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/lx/reportsubmit.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Resources/highchart/highcharts.src.js")"></script>
    <script>
        var r20 = /%20/g,
	rbracket = /\[\]$/,
	rCRLF = /\r?\n/g,
	rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
	rsubmittable = /^(?:input|select|textarea|keygen)/i;
        //Serialize an array of form elements or a set of
        //key/values into a query string
        jQuery.param = function (a, traditional) {
            var prefix,
		s = [],
		add = function (key, value) {
		    // If value is a function, invoke it and return its value
		    value = jQuery.isFunction(value) ? value() : (value == null ? "" : value);
		    s[s.length] = encodeURIComponent(key) + "=" + encodeURIComponent(value);
		};

            // Set traditional to true for jQuery <= 1.3.2 behavior.
            if (traditional === undefined) {
                traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;
            }

            // If an array was passed in, assume that it is an array of form elements.
            if (jQuery.isArray(a) || (a.jquery && !jQuery.isPlainObject(a))) {
                // Serialize the form elements
                jQuery.each(a, function () {
                    add(this.name, this.value);
                });

            } else {
                // If traditional, encode the "old" way (the way 1.3.2 or older
                // did it), otherwise encode params recursively.
                for (prefix in a) {
                    buildParams(prefix, a[prefix], traditional, add);
                }
            }

            // Return the resulting serialization
            return s.join("&").replace(r20, "+");
        };
        function buildParams(prefix, obj, traditional, add) {
            var name;

            if (jQuery.isArray(obj)) {
                // Serialize array item.
                jQuery.each(obj, function (i, v) {
                    if (traditional || rbracket.test(prefix)) {
                        // Treat each array item as a scalar.
                        add(prefix, v);

                    } else {
                        // Item is non-scalar (array or object), encode its numeric index.
                        //buildParams(prefix + "[" + (typeof v === "object" ? i : "") + "]", v, traditional, add);
                        buildParams(prefix + "[" + i + "]", v, traditional, add);
                    }
                });

            } else if (!traditional && jQuery.type(obj) === "object") {
                // Serialize object item.
                for (name in obj) {
                    buildParams(prefix + "[" + name + "]", obj[name], traditional, add);
                }

            } else {
                // Serialize scalar item.
                add(prefix, obj);
            }
        }
        $(function () {
            $("#warp").verticalSplitContainer();
            $("#bottom").horizontalSplitContainer();
            $("#left").verticalSplitContainer();
            $("#menu").accordion({expandItem:-1});
            $(window).resize(function () {
                //$("#warp").layout();
                //$(".layoutable").trigger("layout");
                App.layout();
            });
            $(".tree").jTree();
            $("#right").tabPanelContainer({ application: App });
            $("a[target='navtab']").link({ application: App });
            window.homeid= App.getTabPanelContainer().addTab({url:"@Url.Action("Welcome")",name:"首页",closeable:false});
            //App.getTabPanelContainer().addTab({url:"@Url.Action("XX")",postdata:{arg:"xx2"},name:"ILsdfasOVEU"});
            //$("#p1").remotePanel({url:"@Url.Action("XX")",postdata:{arg:"xx",application:App,name:"ILOVEU"}});
            //$("#dg").dragable({handlerSlt:".header",hideonmove:".content"}).resizeable();
            //var df=new dialogFactory(App);
            //App.getDialogManager().open({title:"新窗口",content:"@Url.Action("XX")"});
            //df.open({title:"新窗口1",content:"@Url.Action("XX")"});
            //App.getAlertManager().alert("xx","dsfasdfsa");
            //App.getAlertManager().confirm("xx", function(){})
            $("#spilter").click(function() {
                var ratio = $("#left").attr("ratio");
                if (ratio == "#200") {
                    $("#left").attr("ratio", "#0").hide();
                    ;
                } else {
                    $("#left").attr("ratio", "#200").show();
                }
                $("#bottom").layout();
            });
        });

        function gotohome() {
            App.getTabPanelContainer().selectTab(homeid);
        }

        function chkIsNewMsg() {
            var option={
                url:"@Url.Action("GetMessageResult")",
                data:"",
                type:"POST",
                dataType:"json",
                success:function(json){
                    if (json.success) {
                        $(".li04 span").css({ display: "block" }).show().text(json.num);
                    } else {
                        $(".li04 span").css({ display: "none" }).text(0);
                    }
                }
            };
            $.ajax(option);
        }
        
        function chkIsNewAction() {
            var option={
                url:"@Url.Action("GetActionResult")",
                data:"",
                type:"POST",
                dataType:"json",
                success:function(json){
                    if (json.success) {
                        $(".li03 span").css({ display: "block" }).show().text(json.num);
                    } else {
                        $(".li03 span").css({ display: "none" }).text(0);
                    }
                }
            };
            $.ajax(option);
        }

        $(function() {
            setInterval(function() {
                chkIsNewMsg();
                chkIsNewAction();
            }, 1000 * 10);
            chkIsNewMsg();
        });
        
        

    </script>
    <style type="text/css">
    html{width:100%;height:100%; margin:0;  padding:0; }
    body{width:100%;height:100%; margin:0;  padding:0; }
    #warp{width:100%;height:100%;}
    #top{width:100%; background:url(/Resources/project/top.gif) #e1e5ea no-repeat 32px 15px; position:relative;}
    #bottom{width:100%;}
    #left{height:100%;float:left;}
    #menu{width:100%;}
    #spilter{height:100%;float:left; cursor:pointer;}
    #right{height:100%;float:left;}
    #welcome{ position:absolute; right:100px; top:16px; color:#717171}
    #quicklink{ position:absolute; right:100px; top:38px;  height:23px; }
    #link1,#link2,#link3,#link4{ width:81px; height:25px; float:left; padding-top:34px; text-align:center; color:#0E87CC}
    #link1:hover{  background:url(/Resources/project/link-01.gif) no-repeat 0 center; color:#FFFFFF}
    #link2:hover{  background:url(/Resources/project/link-02.gif) no-repeat 0 center; color:#FFFFFF}
    #link3:hover{  background:url(/Resources/project/link-03.gif) no-repeat 0 center; color:#FFFFFF}
    #link4:hover{  background:url(/Resources/project/link-04.gif) no-repeat 0 center; color:#FFFFFF}
    #quicklink ul{ height:24px; margin:0; padding:0}
    #quicklink ul li{ display:inline-block;height:34px; margin:0; padding:0; float:left}
    #quicklink ul li a{ display:inline-block;height:24px; float:left; text-align:center; color:#0E87CC; margin:0;  }
       
    .li02 a{ width:66px; background:url(/Resources/project/link-011.gif) no-repeat 0 center;}
    .li02 a:hover{ width:66px; background:url(/Resources/project/link-01.gif) no-repeat 0 center;}
    .li03 a{ width:88px; background:url(/Resources/project/link-031.gif) no-repeat 0 center;}
    .li03 a:hover{ width:88px; background:url(/Resources/project/link-03.gif) no-repeat 0 center;}
    .li04 a{ width:88px; background:url(/Resources/project/link-021.gif) no-repeat 0 center;}
    .li04 a:hover{ width:88px; background:url(/Resources/project/link-02.gif) no-repeat 0 center;}
    .li05 a{ width:88px; background:url(/Resources/project/link-041.gif) no-repeat 0 center;}
    .li05 a:hover{ width:88px; background:url(/Resources/project/link-04.gif) no-repeat 0 center;}
    
    .lisp{ width:5px;}
    
    .li03{ position: relative; }
    .li03 span{ width:17px; height:16px; display: none; position: absolute; z-index:5; right:0;top:-5px;background:url(/Resources/project/v3/numbg.png) no-repeat 0 center; text-align:center;color:#fff;line-height: 16px; font-size:9px; font-family:arial;}
    
    .li04{ position: relative; }
    .li04 span{ width:17px; height:16px; display: none; position: absolute; z-index:5; right:0;top:-5px;background:url(/Resources/project/v3/numbg.png) no-repeat 0 center; text-align:center;color:#fff;line-height: 16px; font-size:9px; font-family:arial;}
    </style>
</head>

<body class="fillbg">

<div id="warp">
    <div id="top" ratio="#70">
        <div id="welcome">
            <strong>欢迎你：</strong>@ViewBag.CurrentUser.Name  
            @if(ViewBag.CurrentUser.Position!= S4Store.Domain.Position.SystemManager){
            <text>|  <strong>职位：</strong>@(((S4Store.Domain.Administrator)ViewBag.CurrentUser).Position.GetDescription())  | </text>
            if (ViewBag.CurrentUser.Store != null)
            {
                <text><strong>专卖店：</strong></text>@ViewBag.CurrentUser.Store.Name
            }
            }
        </div>
         <div id="quicklink">
           <ul>
                
                <li class="li02"><a href="javascript:gotohome()" title="首页"> </a></li>
                <li class="lisp"></li>
                @if (
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
                           CurrentUser.Position == S4Store.Domain.Position.DealerTutors
                           )
                {
                <li class="li03"><a href="@Url.Action("Index", "Actionplan")" target="navtab" title="行动计划"> </a><span>5</span></li>
                <li class="lisp"></li>
                }
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                

               @if (
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager 
                           )
                           
                 {
                <li class="li04"><a href="@Url.Action("Index", "ImproveGuide")" target="navtab" title="改善建议"> </a><span>5</span></li>
                <li class="lisp"></li>
                 }
                 @if (CurrentUser.Position == S4Store.Domain.Position.SystemManager || 
                     CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
                           CurrentUser.Position == S4Store.Domain.Position.DealerTutors)
                 {
                       <li class="li04"><a href="@Url.Action("AdminIndex", "ImproveGuide")" target="navtab" title="改善建议"> <span>5</span></a></li>
                       <li class="lisp"></li>
                 }
                <li class="li05"><a href="@Url.Action("Logout", "Home")" title="退出"> </a></li>
                
           </ul>
        </div>
    </div>
    <div id="bottom" ratio="*">
        <div id="left" class="bordercontainer" ratio="#200">
            <div class="glowline" ratio="#30"><h2 class="standardheight" style="padding-left:7px; color:#fff25d; font-size:14px;">主菜单</h2></div>
            <div id="menu"  class="accordion" ratio="*"> 
            @if (
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.DataEntryClerk ||
                           CurrentUser.Position == S4Store.Domain.Position.MarktingDataEntryClerk ||
                           CurrentUser.Position == S4Store.Domain.Position.FinancialDataEntryClerk ||
                           CurrentUser.Position == S4Store.Domain.Position.AfterSaleDataEntryClerk
                           )
            {
                <div>         
				    <div class="header glowline1">
					    <div class="collapsable standardheight"><span class="icon folder fl" style=" background:url(/Resources/lxthemes/default/images/tu-1.gif) no-repeat center center"></span><span class="standardheight fl">系统管理</span></div>
				    </div>
				    <div class="content">
						<ul class="tree treeFolder"> @if (
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager
                           )
                                   {
							<li><a href="@Url.Action("Index", "Store")" target="navtab">4S店管理</a></li>
							<li><a href="@Url.Action("Index", "Administrator")" target="navtab">用户管理</a></li>		
                                   }
							<li><a href="@Url.Action("Index", "Seller")" target="navtab">职员管理</a></li>		
                             @if (
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager 
                           || CurrentUser.Position == S4Store.Domain.Position.SystemManager
                                 || CurrentUser.Position == Position.SaleTutors
                           )
                             {	
							<li><a href="@Url.Action("Index", "Pinpai")" target="navtab">品牌管理</a></li>	
                             }	
							<li><a href="@Url.Action("Index", "CarBrand")" target="navtab">车型管理</a></li>				
							<li><a href="@Url.Action("Index", "CarModel")" target="navtab">车款管理</a></li>						
                            					
						</ul>
				    </div>
                </div>  
            }
             @if (
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.DataEntryClerk ||
                           CurrentUser.Position == S4Store.Domain.Position.MarktingDataEntryClerk ||
                           CurrentUser.Position == S4Store.Domain.Position.FinancialDataEntryClerk ||
                           CurrentUser.Position == S4Store.Domain.Position.AfterSaleDataEntryClerk
                           )
             {
                <div>  
				    <div class="header glowline1">
					    <div class="collapsable standardheight"><span  class="icon folder fl"  style=" background:url(/Resources/lxthemes/default/images/tu-2.gif) no-repeat center center"></span><span class="standardheight fl">业务管理</span></div>
				    </div>
				    <div class="content" style="height: 284px; display: none; overflow: auto;">
						<ul class="tree treeFolder">
                            @if (CurrentUser.Position == S4Store.Domain.Position.DataEntryClerk || CurrentUser.Position == S4Store.Domain.Position.SystemManager)
                            {
                            <li><a>销售数据录入</a>
								<ul>
									<li><a href="@Url.Action("Index", "CarKpi")" target="navtab">车型销售KPI</a></li>
							        <li><a href="@Url.Action("SellerStarnd", "Starnd")" target="navtab">销售顾问考核标准</a></li>		
									<li><a href="@Url.Action("Index", "SellerKpi")" target="navtab">展厅销售顾问KPI</a></li>
									<li><a href="@Url.Action("Index", "TelSellerKpi")" target="navtab">电话销售顾问KPI</a></li>
								</ul>
							</li>
                            }
                            @if (CurrentUser.Position == S4Store.Domain.Position.MarktingDataEntryClerk || CurrentUser.Position == S4Store.Domain.Position.SystemManager)
                            {
                            <li><a>营销数据录入</a>
								<ul>
									<li><a href="@Url.Action("Index", "TelSaleKpi")" target="navtab">电销信息管理数据</a></li>
									<li><a href="@Url.Action("Index", "ExhibitionKpi")" target="navtab">展厅营销数据</a></li>
									<li><a href="@Url.Action("MediaIndex", "NetMarketingKpi")" target="navtab">传播媒体管理</a></li>	
									<li><a href="@Url.Action("Index", "NetMarketingKpi")" target="navtab">网络营销数据</a></li>
                                    <li><a href="@Url.Action("NetMarketingStandard", "Starnd")" target="navtab">网络营销考核标准</a></li>
							        <li><a href="@Url.Action("ExhibitionKpiStandard", "Starnd")" target="navtab">展厅营销考核标准</a></li>	
							        <li><a href="@Url.Action("TelSaleKpiStandard", "Starnd")" target="navtab">电话销售考核标准</a></li>	
								</ul>
							</li>
                            }
                            @if (CurrentUser.Position == S4Store.Domain.Position.FinancialDataEntryClerk || CurrentUser.Position == S4Store.Domain.Position.SystemManager)
                            {
                            <li><a>财务数据录入</a>
								<ul>
									<li><a href="@Url.Action("Index", "FinancialKpi")" target="navtab">财务指标录入</a></li>
								</ul>
							</li>
                            }
                            @if (CurrentUser.Position == S4Store.Domain.Position.AfterSaleDataEntryClerk || CurrentUser.Position == S4Store.Domain.Position.SystemManager)
                            {
                            <li><a>售后数据录入</a>
								<ul>
                                    <li><a href="@Url.Action("Index", "AfterSaleMonthConfig")" target="navtab">售后标准</a></li>
									<li><a href="@Url.Action("Index", "AfterSaleCarKPI")" target="navtab">售后车型KPI</a></li>
                                    <li><a href="@Url.Action("Index", "AfterSaleDecoratingKPI")" target="navtab">用品销售KPI</a></li>
                                    <li><a href="@Url.Action("Index", "AfterSaleServiceAdvisor")" target="navtab">服务顾问</a></li>
                                    <li><a href="@Url.Action("Index", "AfterSaleCustomerService")" target="navtab">客服专员</a></li>
                                    <li><a href="@Url.Action("Index", "AfterSaleWorkshopManager")" target="navtab">车间主管</a></li>
                                    <li><a href="@Url.Action("Index", "SparePart")" target="navtab">零部件管理</a></li>
                                    <li><a href="@Url.Action("Index", "DeadStock")" target="navtab">呆滞库存明细</a></li>
								</ul>
							</li>
                            }
                            @if (CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                                 CurrentUser.Position == S4Store.Domain.Position.FinancialDataEntryClerk ||
                                 CurrentUser.Position == S4Store.Domain.Position.AfterSaleDataEntryClerk ||
                                 CurrentUser.Position == S4Store.Domain.Position.DataEntryClerk ||
                                 CurrentUser.Position == S4Store.Domain.Position.MarktingDataEntryClerk
                                )
                            {
                                <li><a>导入导出</a>
                                    <ul>
                                        @if (
                                             CurrentUser.Position == S4Store.Domain.Position.FinancialDataEntryClerk ||
                                             CurrentUser.Position == S4Store.Domain.Position.AfterSaleDataEntryClerk ||
                                             CurrentUser.Position == S4Store.Domain.Position.DataEntryClerk ||
                                             CurrentUser.Position == S4Store.Domain.Position.MarktingDataEntryClerk
                                            )
                                        {
                                            <li><a href="@Url.Action("Index", "Import")" target="navtab">导入数据</a></li>
                                        }
                                        @if (
                                            CurrentUser.Position == S4Store.Domain.Position.SystemManager 
                                            )
                                        {
                                            <li><a href="@Url.Action("Index", "Export")" target="navtab">导出数据</a></li>
                                            <li><a href="@Url.Action("Index", "Import")" target="navtab">导入数据</a></li>
                                        }
                                    </ul>
                                </li>
                            }
						</ul>
				    </div>
                </div>                  
             }
                <div>  
				    <div class="header glowline1">
					    <div class="collapsable standardheight"><span  class="icon folder fl"  style=" background:url(/Resources/lxthemes/default/images/tu-3.gif) no-repeat center center"></span><span class="standardheight fl">用户中心</span></div>
				    </div>
				    <div class="content" style="height: 284px; display: none; overflow: auto;">
						<ul class="tree treeFolder">
							<li><a href="@Url.Action("ModifyPassword", "Administrator")" target="navtab">修改密码</a></li>	

                            @if (
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager
                           )
                            {
                                <li><a href="@Url.Action("Index", "ImproveGuide")" target="navtab">指导改善建议</a></li>
                            }
                            
                            @if (
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
                           CurrentUser.Position == S4Store.Domain.Position.DealerTutors ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager )
                            {
                                <li><a href="@Url.Action("AdminIndex", "ImproveGuide")" target="navtab">指导改善建议</a></li>
                            }

                            @if (
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
                           CurrentUser.Position == S4Store.Domain.Position.DealerTutors
                           )
                            {
                            <li><a href="@Url.Action("Index", "Actionplan")" target="navtab">行动计划</a></li>
                            }
                            <li><a href="@Url.Action("Index", "Information")" target="navtab">资料下载</a></li>
						</ul>
				    </div>
                </div>  
                @if (
                           CurrentUser.Position == S4Store.Domain.Position.GeneralManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SystemManager ||
                           CurrentUser.Position == S4Store.Domain.Position.MarketingManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SalesManager ||
                           CurrentUser.Position == S4Store.Domain.Position.StoreManager ||
                           CurrentUser.Position == S4Store.Domain.Position.AftersalesManager ||
                           CurrentUser.Position == S4Store.Domain.Position.SaleTutors ||
                           CurrentUser.Position == S4Store.Domain.Position.DealerTutors
                           )
                {
                <div>  
				    <div class="header glowline1">
					    <div class="collapsable standardheight"><span  class="icon folder fl"  style=" background:url(/Resources/lxthemes/default/images/tu-4.gif) no-repeat center center"></span><span class="standardheight fl">数据报表</span></div>
				    </div>
				    <div class="content" style="height: 284px; display: none; overflow: auto;">
						<ul class="tree treeFolder">
									<li><a href="@Url.Action("Index", "Report")" target="navtab">经销商运营健康指标总览</a></li>
								
						</ul>
				    </div>
                </div>
                }
            </div>
        </div>
        <div id="spilter" ratio="#10"></div>
        <div id="right" class="bordercontainer" ratio="*">
            <div class="header"></div>
            <div class="content"></div>
        </div>
    </div>
</div>
</body>
</html>